package com.example.cursor.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.math.BigDecimal;

@Data
@Configuration
@ConfigurationProperties(prefix = "transfer.limit")
public class TransferLimitConfig {
    private BigDecimal singleLimit = new BigDecimal("60");  // 单次限额
    private Integer dailyCount = 3;                         // 每日次数限制
    private BigDecimal monthlyLimit = new BigDecimal("800"); // 每月限额
} 